package org.gtd4j;

import java.io.IOException;
import java.net.URL;

import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.io.SyndFeedOutput;
import com.sun.syndication.io.XmlReader;

public class GetTaskList {
	
	public static void main(String[] args) throws IllegalArgumentException, FeedException, IOException {
		URL feedSource = new URL("URL goes here");
        SyndFeedInput input = new SyndFeedInput();
        SyndFeed feed = input.build(new XmlReader(feedSource));
        SyndFeedOutput out = new SyndFeedOutput();
        System.out.println(out.outputString(feed));
	}

}
